Skip to content

Conversation

timruffles
Copy link

as noted in #181, the comment stating "parser.Close() will be called by Go's garbage collector and users would not have to call this manually" is too optimistic.

jbedard added a commit to aspect-build/aspect-cli that referenced this pull request Apr 1, 2025
Fix #818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases

GitOrigin-RevId: 35c3509f084f0d7c2e01a9d11faa2519462dc46b
jbedard added a commit to aspect-build/aspect-cli that referenced this pull request Apr 1, 2025
Fix #818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases

GitOrigin-RevId: 35c3509f084f0d7c2e01a9d11faa2519462dc46b
jbedard added a commit to aspect-build/aspect-cli that referenced this pull request Apr 2, 2025
Fix #818

See also:
 smacker/go-tree-sitter#183
 smacker/go-tree-sitter#182

---

### Changes are visible to end-users: yes

- Searched for relevant documentation and updated as needed: yes
- Breaking change (forces users to change their own code or config): no
- Suggested release notes appear below: yes

Ensure `configure` tree-sitter resources are explicitly cleaned up.

### Test plan

- Covered by existing test cases

GitOrigin-RevId: 35c3509f084f0d7c2e01a9d11faa2519462dc46b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant